
import * as Vrules from '@/util/validate';

export const rules = {
  phone: [
    { required: true, message: '请输入手机号', trigger: 'change' },
    { validator: Vrules.isPhone, trigger: 'change' }
  ],
  code: [
    { required: true, message: '请输入验证码', trigger: 'change' }
  ]
};